<?php

namespace apiend\models;

use Yii;

/**
 * 后台管理员用户模型
 *
 * @author emhome <emhome@163.com>
 * @since 1.0
 */
class AdminerSearch extends User {

    public function fields() {
        return [
            'id',
            'name' => 'username',
            'mobile' => 'maskMobile',
            'avatar' => 'portrait',
            'introduction' => 'profile',
            'company',
            'status',
            'roles',
            'storeId',
            'created_at',
        ];
    }

}
